home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
island_fishing.swf
/
scripts
/
frame_183
/
PlaceObject2_226_45
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2011-01-13
|
2KB
|
61 lines
onClipEvent(enterFrame){
if(this.canmove <= 0)
{
this._x = _root.hook._x;
this._y = _root.hook._y;
}
if(this.hitTest(_root.rodend))
{
unloadMovie(this);
_root.guy.head.gotoAndPlay("shiver");
_root.scorepopup.score.text = "-5";
_root.scorepopup.play();
_root.score--;
_root.score--;
_root.score--;
_root.score--;
_root.score--;
}
if(this.hitTest(_root.hook))
{
if(_root.f1.hooked <= 0)
{
if(_root.f2.hooked <= 0)
{
if(_root.f3.hooked <= 0)
{
if(_root.f4.hooked <= 0)
{
if(_root.f5.hooked <= 0)
{
if(_root.f7.hooked <= 0)
{
if(_root.f9.hooked <= 0)
{
if(_root.f10.hooked <= 0)
{
_root.guy.gotoAndStop(2);
this.canmove = 0;
this.hooked = 1;
this._x = _root.hook._x;
this._y = _root.hook._y;
}
else
{
this.canmove = 1;
this.hooked = 0;
if(this._y < 160)
{
this._y = 180;
}
}
}
}
}
}
}
}
}
}
}